\f0\b\fs28 Note that the ifdef for 1.0 is for illustration purposes only and is NOT defined in any NeXTstep include file.\
\f2\b0\fs24 \
\
\f0\fs28 Q: Inside of my
\f1\fs24 iconEntered:...
\f0\fs28 method, I want to get the icon of the file that's being dragged into the window. I tried sending the
\f1\fs24 getFileIconFor:...
\f0\fs28 message to the Workspace but this doesn't work (my app hangs for awhile). Librarian and Mail somehow can display the file's icon when the user drags it into their window. How can I make this work?\
\f2\fs24 \
\
\pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\f0\fs28\fc0 A: Workspace calls made within
\f0\fs28 result in deadlock: the Workspace blocks waiting for your app to return from
\f1\fs24 iconEntered:...
\f2
\f0\fs28 while your app blocks waiting for the Workspace to answer the
\f1\fs24 getFileIconFor:...
\f0\fs28 message. You must use PostScript to copy the bitmap image from the Workspace window into a bitmap. Here's the PostScript code (which you should place in a .psw file):\